﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.ServiceLocation;
using System.Windows.Controls;
using System.Windows;
using AvalonDock;

namespace DynamicUIFramework
{
    public abstract class Bootstrapper
    {
        public Window Shell { get; set; }
        public Bootstrapper(Setting setting)
        {
            UISetting.setting = setting;
            SetTheme();
        }
        public void Run()
        {
            this.Run(true);
        }

        protected abstract void SetTheme();
        protected virtual void ConfigureRegionAdapterMappings()
        {
        }
        public abstract void Run(bool runWithDefaultConfiguration);
        protected abstract void ConfigureServiceLocator();
    }
}
